package com.weixin.paleituo.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Author yichao
 * Time  2018/1/30 16:21
 * Dest  ${TODO}
 */

public class HX implements Parcelable {


    /**
     * id : 62
     * houses_id : null
     * type : null
     * rout : https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2956063709,4289660611&fm=27&gp=0.jpg
     * vrurl : aaaaa
     * model : A
     * area : 150平
     * summary : 两室一厅
     */

    private int id;
    private String houses_id;
    private String type;
    private String rout;
    private String vrurl;
    private String model;
    private String area;
    private String summary;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getHouses_id() {
        return houses_id;
    }

    public void setHouses_id(String houses_id) {
        this.houses_id = houses_id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getRout() {
        return rout;
    }

    public void setRout(String rout) {
        this.rout = rout;
    }

    public String getVrurl() {
        return vrurl;
    }

    public void setVrurl(String vrurl) {
        this.vrurl = vrurl;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.id);
        dest.writeString(this.houses_id);
        dest.writeString(this.type);
        dest.writeString(this.rout);
        dest.writeString(this.vrurl);
        dest.writeString(this.model);
        dest.writeString(this.area);
        dest.writeString(this.summary);
    }

    public HX() {
    }

    protected HX(Parcel in) {
        this.id = in.readInt();
        this.houses_id = in.readString();
        this.type = in.readString();
        this.rout = in.readString();
        this.vrurl = in.readString();
        this.model = in.readString();
        this.area = in.readString();
        this.summary = in.readString();
    }

    public static final Creator<HX> CREATOR = new Creator<HX>() {
        @Override
        public HX createFromParcel(Parcel source) {
            return new HX(source);
        }

        @Override
        public HX[] newArray(int size) {
            return new HX[size];
        }
    };
}
